#ifndef __WHITENAME_OP_H__   
#define __WHITENAME_OP_H__

#include <interface/data_op/white_name.h>

namespace aot{ namespace data{

class white_name_op_impl : public aot::data::iwhite_name_op
{
public:
    white_name_op_impl(void);
    virtual ~white_name_op_impl(void);
public:    
    virtual bool insert(const char* buddy_id);
    virtual bool del(const char* buddy_id); 
    virtual bool find(const char* buddy_id);
    virtual bool get_white_names(aot::tt::ivec_str** out);
    virtual bool update_white_names(aot::tt::ivec_str* p);
};

}} /* end namespace aot/data*/

#endif /// __WHITENAME_OP_H__
